//
//  CaiPiaoQiCiResponse.m
//  EasyToo
//
//  Created by linshengqin on 13-8-25.
//
//

#import "CaiPiaoQiCiResponse.h"
#import "CaiPiaoQiCiInfo.h"
@implementation CaiPiaoQiCiResponse

- (void)parse
{
    [super parse];
    
    if (self.bodyDict)
    {
        self.qiciArray = [[NSMutableArray alloc] init];
        
        NSArray *entityJsonArray = GetDictionaryArrayDefaultNil(self.bodyDict, @"Entity");
        for (int i = 0; i < [entityJsonArray count]; i++)
        {
            NSDictionary *entityInfoJson = [entityJsonArray objectAtIndex:i];
            CaiPiaoQiCiInfo *qiciInfo = [[CaiPiaoQiCiInfo alloc] initWithDictionary:entityInfoJson];
            
            [self.qiciArray addObject:qiciInfo];
            
            [qiciInfo release];
        }
    }
}

@end
